From 29a4e33107f12c44f34fa111e049499b8ee3dc8b Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Mon, 4 Apr 2011 22:46:29 -0500 Subject: [PATCH] Look for NEWS in order to find etc/ rather than GNU. Emacs will now look for NEWS in order to find etc/ rather than GNU. Since Debian doesn't include GNU in the Debian packages (the common licenses are in /usr/share/common-licenses), Emacs will now look for NEWS to find the etc directory instead of GNU. Provided-by: Sven Joachim Originally-reported-by: Bernhard Michler Date: Mon, 28 Apr 2008 11:20:23 +0200 Added-by: Rob Browning Status: Debian specific --- src/callproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/callproc.c b/src/callproc.c index c4177d5044c..6d07327acc5 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -1580,14 +1580,14 @@ init_callproc (void) srcdir = Fexpand_file_name (build_string ("../src/"), build_string (PATH_DUMPLOADSEARCH)); - tem = Fexpand_file_name (build_string ("GNU"), Vdata_directory); + tem = Fexpand_file_name (build_string ("NEWS"), Vdata_directory); tem1 = Ffile_exists_p (tem); if (!NILP (Fequal (srcdir, Vinvocation_directory)) || NILP (tem1)) { Lisp_Object newdir; newdir = Fexpand_file_name (build_string ("../etc/"), build_string (PATH_DUMPLOADSEARCH)); - tem = Fexpand_file_name (build_string ("GNU"), newdir); + tem = Fexpand_file_name (build_string ("NEWS"), newdir); tem1 = Ffile_exists_p (tem); if (!NILP (tem1)) Vdata_directory = newdir; -- 2.30.2